package org.ns.summer.beans.anns;

import org.ns.summer.core.anns.AliasFor;

import java.lang.annotation.*;

/**
 * 会被发现
 */
@Target({ElementType.ANNOTATION_TYPE, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
public @interface ComponentScan {
    @AliasFor(attribute = "packageNames")
    String[] value() default {};
    @AliasFor(attribute = "value")
    String[] packageNames() default {};
}
